#ifndef XML_TEXTFRAME_H_
#define XML_TEXTFRAME_H_
#include <iostream>
#include <string>
#include <vector>
#include "text_stream.h"
using namespace std;

class TextProp
{

public:
    TextProp();
    TextProp(const TextProp& textprop);
    string GetAnchor() const;
    void SetAnchor(string anchor);
    int GetColrtl() const;
    void SetColrtl(int colrtl);
    string GetTextWrap() const;
    void SetTextWrap(string wrap);
    string GetAutoFit() const;
    void SetAutoFit(string autofit);
    string GetTextType() const;
    void SetTextType(string texttype);

private:
    string m_anchor_type_;
    int m_column_right_to_left_;
    string m_text_wrap_;
    string m_auto_fit_;
    string m_text_shape_type_;
};

class TextFrame
{

public:
    TextFrame();
    TextFrame(const TextFrame& textframe);
    TextProp GetProp() const;
    void SetProp(TextProp prop);
    TextStream GetTextStream() const;
    void SetTextStream(TextStream textstream);

private:
    TextProp m_text_prop_;
    TextStream m_text_stream_;
};

#endif